package com.dr.cmdb.query.neo4jdao;


import com.dr.cmdb.query.neo4jdao.entity.CiTypeEntity;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

/**
 * @ProjectName: cmdb
 * @Package: com.dr.cmdb.application.neo4jdao
 * @Description: java类作用描述
 * @Author: duanrui
 * @CreateDate: 2021/4/2 15:20
 * @Version: 1.0
 * <p>
 * Copyright: Copyright (c) 2021
 */
@Repository
public interface CiTypeRepository extends Neo4jRepository<CiTypeEntity,Long> {

    /**
     * 按名字查找节点
     * @param name
     * @return
     */
    CiTypeEntity findCiTypeEntityByName(String name);

}

